﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZhonTai.Industry.Contracts.Core.Enums
{
    public enum SearchResultEnum : short
    {
        /// <summary>
        /// 初始状态
        /// </summary>
        Initialize = 0,

        /// <summary>
        /// 允许加工
        /// </summary>
        AllowWork = 1,

        /// <summary>
        /// 不允许加工
        /// </summary>
        NotAllowWork = 2,

        /// <summary>
        /// 当前工位已加工且合格
        /// </summary>
        CurrentWorked = 3,

        /// <summary>
        /// 上工位未加工
        /// </summary>
        UpperNotWork = 4,

        /// <summary>
        /// 上工位加工NG
        /// </summary>
        UpperWorkNG = 5,

        /// <summary>
        /// 空主码
        /// </summary>
        EmptyMasterCode = 10,

        /// <summary>
        /// 查询错误
        /// </summary>
        SearchError = 7,

        /// <summary>
        /// 允许返修
        /// </summary>
        AllowRepair = 8,

        /// <summary>
        /// 不允许返修
        /// </summary>
        NotAllowRepair = 9,
    }
}